-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enrich adapter response for UPDATE and SELECT queries #79
Conversation
HI, reviewed and passed it onto testing till @jtcohen6 has a chance to take a look, but noticed that your code is a little out of date and would love if it if you could update your branch with latest from main and make sure tests still pass. |
Hi just wanting to pass along that you may need to merge main again per #93 bigquery like postgres adapter have a test that was failing due to addition of a stricter type checking. should clear up the two python tests. |
Thanks @McKnight-42 - all up to date now :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
worked locally for me, thank you for taking time to work on this enhancement.
* enirch adapter response for UPDATE and SELECT queries * code style change Co-authored-by: Matthew McKnight <[email protected]>
resolves #68
Description
Add logic in
BigQueryConnectionManager.execute
to enrich the response with more info for UPDATE and SELECT statements.UPDATE responses will match that of other DML operations, while SELECT will return the following:
bytes_processed
= total reported bytes processed from running the SELECT statementrows_affected
= number of rows in the query resultChecklist
CHANGELOG.md
and added information about my change to the "dbt-bigquery next" section.